package cn.ainit.bs.entity;
// default package

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * RightMenusMapId entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SYS_RIGHT_MODUAL_MAP")
public class RightMenusMap implements java.io.Serializable {

	// Fields

	private String mid;
	private String groupId;
	private String modualId;
	private Long orderNum;
	private Date inputDate;
	private String inputOid;
	private Date modifyDate;
	private String modifyOid;
	private String memo;

	// Property accessors

	@Id
	@Column(name = "M_ID", nullable = false, length = 32)
	public String getMid() {
		return mid;
	}
	public void setMid(String mid) {
		this.mid = mid;
	}

	@Column(name = "GROUP_ID", nullable = false, length = 32)
	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	@Column(name = "MENU_ID", nullable = false, length = 32)
	public String getModualId() {
		return modualId;
	}
	public void setModualId(String modualId) {
		this.modualId = modualId;
	}

	@Column(name = "ORDER_NUM", precision = 11, scale = 0)
	public Long getOrderNum() {
		return this.orderNum;
	}

	public void setOrderNum(Long orderNum) {
		this.orderNum = orderNum;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "INPUT_DATE", length = 7)
	public Date getInputDate() {
		return this.inputDate;
	}

	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}

	@Column(name = "INPUT_OID", length = 32)
	public String getInputOid() {
		return this.inputOid;
	}

	public void setInputOid(String inputOid) {
		this.inputOid = inputOid;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "MODIFY_DATE", length = 7)
	public Date getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	@Column(name = "MODIFY_OID", length = 32)
	public String getModifyOid() {
		return this.modifyOid;
	}

	public void setModifyOid(String modifyOid) {
		this.modifyOid = modifyOid;
	}

	@Column(name = "MEMO", length = 32)
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}